﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OccurrencesWorkflow.BaseControl.WorkflowException
{
    public class WorkflowTaskAlreadyEditedException : Exception
    {
        private int taskId;

        protected WorkflowTaskAlreadyEditedException()
            : base()
        { }

        public WorkflowTaskAlreadyEditedException(int value)
            : base(String.Format("Workflow task with id '{0}' was already edit.", value))
        {
            taskId = value;
        }
    }
}
